<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>{$activityname}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<link href="{$Think.config.RESOURCEURL}wx_assets/css/common.css{$Think.config.RESOURCE_VER}" rel="stylesheet" type="text/css">
<link href="{$Think.config.RESOURCEURL}wx_assets/vote/vote.css{$Think.config.RESOURCE_VER}" rel="stylesheet">
<script type="text/javascript" src="{$Think.config.RESOURCEURL}wx_assets/js/zepto.1.1.3.min.js{$Think.config.RESOURCE_VER}"></script>
<script type="text/javascript" src="{$Think.config.RESOURCEURL}wx_assets/js/zepto.alert.js{$Think.config.RESOURCE_VER}"></script>
<script src="{$Think.config.RESOURCEURL}wx_assets/js/util.js{$Think.config.RESOURCE_VER}" type="text/javascript"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script src="{$Think.config.RESOURCEURL}wx_assets/js/wx_share.js{$Think.config.RESOURCE_VER}" type="text/javascript"></script>
    <style>
        html,body{height:100%;}
    </style>
</head>
<body class="bg-common" style="background-image:url({$jsonstr.COMMON_BACKGROUND_OTHER.src})">
<a class="bg-common bg_zjt" href='{$Think.config.SERVER_HOST}call.html?customerId={$customerId}&module=vote&method=index&params=%7B%22actId%22%3A%22{$actId}%22%7D' style="background-image:url({$jsonstr.COMMON_BUTTON_BACK.src})"></a>
<div class="guize">
	<img src="{$jsonstr.PRIZE.src}">
</div>
<script>
var baseUrl = '{$Think.config.SERVER_HOST}';
var rule={
    getShareUrl:function(){
        var p=$.util.getParamAsObject();
        var shareUrl="";
        var params={
            "qId":"{$qId}",
            "fromUId":"{$fromUId}"
        };
        params=encodeURIComponent(JSON.stringify(params));
        shareUrl=baseUrl+'call.html?customerId={$customerId}&module=quan&scope=1&method=index&params='+params;
        return shareUrl;
    }
}
var shareUrl=rule.getShareUrl();
wx_share.init({
    "title":"{$title}",
    "desc":'{$description}',
    "link":shareUrl,
    "imgUrl":"{$picurl}",
    "pkg":{
        "appId": '{$pkg.appId}',
        "timestamp": '{$pkg.timestamp}',
        "nonceStr": '{$pkg.nonceStr}',
        "signature": '{$pkg.signature}'
    },
    success:function(config,shareType){
        
    }
 });
</script>
</body>
</html>